﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace MarginTrading.Entity
{
    public class LoanAccount
    {
        #region public methods
        /// <summary>
        /// default constructor of Portfolio. 
        /// </summary>
        public LoanAccount()
        {
            this.ReferenceNo = string.Empty;
            this.ClientCode = string.Empty;
            this.EntryType = string.Empty;
            this.Remarks = string.Empty;
            this.Amount = 0;
            this.CreatedDate = DateTime.MinValue;
            this.TrParticulars = string.Empty; //Ravin1
        }

        #endregion

        #region property

        public string ReferenceNo { get; set; }
        public string ClientCode { get; set; }
        public string EntryType { get; set; }
        public string Remarks { get; set; }
        public double Amount { get; set; }
        public DateTime CreatedDate { get; set; }
        public double Balance { get; set; }
        public string TrParticulars { get; set; } //Ravin1

        #endregion
    }

    public class LoanAccountCollection : Collection<LoanAccount>
    {
        public LoanAccountCollection()
        {
        }
    }
}
